home *** CD-ROM | disk | FTP | other *** search
/ Compendium Deluxe 1 / LSD Compendium Deluxe 1.iso / a / intuition / menu / nmenu417.lha / NewMenu / newmenu.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-09-14  |  3.2 KB  |  72 lines

  1. #ifndef INTUITION_NEWMENU_H
  2. #define INTUITION_NEWMENU_H
  3.  
  4.  
  5.  
  6. /* ======================================================================== */
  7. /* === Menu =============================================================== */
  8. /* ======================================================================== */
  9.  
  10. /* FLAGS SET BY BOTH THE APPLIPROG AND INTUITION */
  11. #define MFLG_MENUENABLED    0x0001    /* whether or not this menu is enabled */
  12. #define MFLG_NOGHOST        0x0002    /* no ghosting when disabled */
  13. #define MFLG_LAYOUT        0x0004    /* let Intuition layout this menustrip,
  14.                                          * the items and the subitems
  15.                                          *
  16.                                          * with this flag set, LeftEdge, TopEdge,
  17.                                          * Width, Height, are ignored for the
  18.                                          * Menu, MenuItem, IntuiText
  19.                                          *
  20.                                          * LeftEdge and TopEdge are ignored for
  21.                                          * the Image structures
  22.                                          *
  23.                                          */
  24.  
  25. /* FLAGS SET BY INTUITION */
  26. #define MFLG_PRIVATE1         0x0100    /* don't touch it... (was MIDRAWN) */
  27.  
  28.  
  29.  
  30. /* ======================================================================== */
  31. /* === MenuItem =========================================================== */
  32. /* ======================================================================== */
  33.  
  34. /* FLAGS SET BY THE APPLIPROG */
  35. #define MIFLG_CHECKIT        0x0001    /* set to indicate checkmarkable item */
  36. #define MIFLG_ITEMTEXT        0x0002    /* set if textual, clear if graphical item */
  37. #define MIFLG_COMMSEQ        0x0004    /* set if there's an command sequence */
  38. #define MIFLG_MENUTOGGLE    0x0008    /* set for toggling checks (else mut. exclude) */
  39. #define MIFLG_ITEMENABLED    0x0010    /* set if this item is enabled */
  40. #define MIFLG_SBAR        0x0020    /* separator bar */
  41. #define MIFLG_NOGHOST        0x0200    /* no ghosting while disabled */
  42. #define MIFLG_NEXTCOLUMN    0x0400    /* place in the next column if possible */
  43. #define MIFLG_HIGHLIGHT        0x0800    /* special color text */
  44.  
  45. /* these are the SPECIAL HIGHLIGHT FLAG state meanings */
  46. #define MIFLG_HIGHFLAGS        0x00C0    /* see definitions below for these bits */
  47. #define MIFLG_HIGHIMAGE        0x0000    /* use the user's "select Image" */
  48. #define MIFLG_HIGHCOMP        0x0040    /* highlight by complementing the selectbox */
  49. #define MIFLG_HIGHBOX        0x0080    /* highlight by "boxing" the selectbox */
  50. #define MIFLG_HIGHNONE        0x00C0    /* don't highlight */
  51.  
  52. /* FLAGS SET BY BOTH APPLIPROG AND INTUITION */
  53. #define MIFLG_CHECKED        0x0100    /* state of the checkmark */
  54.  
  55. /* FLAGS SET BY INTUITION */
  56. #define MIFLG_OBSOLETE1        0x1000    /* obsolete (was ISDRAWN) */
  57. #define MIFLG_OBSOLETE2        0x2000    /* obsolete (was HIGHITEM) */
  58. #define MIFLG_OBSOLETE3        0x4000    /* obsolete (was MENUTOGGLED) */
  59.  
  60.  
  61.  
  62. /* = MENU STUFF =========================================================== */
  63. #define NEWMENUPORTNAME         "NewLook Menu Handler"
  64. #define    IDS_MENUNORMAL        IDS_NORMAL
  65. #define    IDS_MENUHIGH        IDS_SELECTED
  66. #define    IDS_MENUDISABLED    IDS_DISABLED
  67. #define    IDS_MENUPICKEDNORMAL    IDS_INACTIVENORMAL
  68. #define    IDS_MENUPICKEDHIGH    IDS_INACTIVESELECTED
  69.  
  70.  
  71.  
  72. #endif /* INTUITION_NEWMENU_H */